Always write output to file on windows
Cleanup tmp output