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

...instead of pointers.
if `not self.csr_file` nad `csr_return_format == 'pem'` then returning from this function will fail, as `csr_pem` is never set.