fix open file failed at the win32

fix open file failed at the win32