work around Win32 rename() issue using native API
Merge pull request #482 from KiNgMaR/win32-file-move

work around Win32 rename() issue using native API