Changed way to execute pdftotext command via ruby