Fix pyPdf's tempfile usage

Turns out pyPdf makes certain (invalid) assumptions about the state of
the file it's writing to so it won't reliably work with
SpooledTemporaryFile. Switched to TemporaryFile instead ... bleh