Rewrite to use pdftotext. Proof of concept. Works!