Changed the result file extension to .txt from .pdf. Prawn to be used.