Reset path for output files only if in unix environment