Eliminate usage of temp files for loading x.509

That was redundant after all since x509 seems to be able to load strings
directly.