OCR module not able to create a TXT output from a PDF attachment