Fixed an issue where if the PDF Compression is set to 1 which causes a crash when the compressed file size is larger or equal to the output file.