Fix "Warning: You did not close the PDF Document"

PDDocument was being initialized twice and close() was being performed
in try, which would get skipped if an exception were thrown. (new
PDDocument() and PDDocment.load() are both valid constructors).