security: Fix bug in FilePrivateKeyStorage::sign for getting the RSA key.