Improve transmission-post-process.sh argument handling and formatting