pdftotext must return a string to be saved.