Add pdftotext encoding as configuration option

Included pdftotext encryption as a configuration option.