based on pyPdfRename v012