Add better exception messages with MalformedPDFError
Merge pull request #567 from cosmic/master

Add better exception messages with MalformedPDFError