Sanitize pdftotext output before we update the datastream.