Added try block to catch Chrome private keys generated in pkcs8 format.

When Chrome generates a private key, it is generated in the pkcs8 header format, i.e. 
`-----BEGIN PUBLIC KEY-----` 

as opposed to the pkcs1 format: 

`-----BEGIN RSA PUBLIC KEY-----`

this throws `InvalidAsn1Error: encoding too long` when generating a public key from a Chrome generated private key.