Added code for WIN32 version of mkstemp.