added ability to return path to file created with WkPdf