A port of the old ParallelEncoding.cmd to python for less grody maintenance.