Rudimentary solution for PDF parsing (closes earwig/copyvios#18)