dos2unix workaround for process_template