Throw an error when openssl in generatePublicKey has error text.

Resolves jed/crx#5.