Revert commit which reformats document.
Resolves PDFBOX-1586 by not closing the scratchFile instance as it is exported and thus potentially referenced elsewhere (as is the case with the splitting of a large document).