Altered the new IdentityFile.getPrivateKey method to return PEM-format data.