Better error checking on private key and csr.  Also, pull in file names ...

...instead of pointers.
`"{}"` is not Python 2.6 compat syntax