implement create_file for Win32