PDFtk installation check in write_pdf()