This patch will let Emacs avoid always close the fd then open the file with desired fmode in the "Fload" function on windows. It will reduce the counts on calling the "CreateFile" api. On my dev windows environment, Emacs startup time reduces from 4.551s to 4.378s with 352 packages.