Break out a bytes_to_subprocess() helper, which is used in both pdf_to_text() and doc_to_text().
Break out a bytes_to_subprocess() helper, which is used in both pdf_to_text() and doc_to_text().

opensyllabus/osp-pipeline,opensyllabus/osp-pipeline