Update PdfGenerator.java

Updated PDFGenerator, Stores PDF in temporary folder on Windows. Fixes multiple select to generate PDFs. Overwrites old PDFs whenever called