A simple api for reading PDF meta info via xpdf's pdfinfo(1)