Replace pyPdf library with PyPDF2

The pyPdf library is no longer being maintained, perhaps we should upgrade it to the PyPDF2 library (https://github.com/mstamy2/PyPDF2/).

Since PyPDF2 is a superset of pyPdf, it should just work out of the box.