(Issue540) Compatibility with PDFtk 2+
Merge pull request #546 from mrvisser/issue-540

(Issue540) Compatibility with PDFtk 2+