Do not use mkstemp on windows.