Replaced pyPdf with PyPDF2.

This change is necessary because there are problems with installing pyPdf from
PyPI.