fix(txt2pdf): Correctly handle errors from subprocesses in txt2pdf (refs #4676)