Better error checking when reading the RSA private key.