Have decryptPEM handle different files, and make bits more idiomatic