fixed 'quiet' execute on Windows; file.temp_copy can be given an optional extension