Compatible with newer PyPDF2 versions
Merge pull request #28 from cyrusv/master

Compatible with newer PyPDF2 versions