Splitting *.pem into key.pem and cert.pem