Add better exception messages with MalformedPDFError