Fix problem when loading public key from String.

This needs to return the RSA encoded public key instead of the
tuple (Array). It was failing attempting to call #to_pem here.