Fixed a bug in the generatePDF function where the wkhtmltopdf_binary config option was being ignored.