Temp files fixed for windows