Fixes for Linux download_exec post module

cc @jlee-r7