Merge pull request #104 from natural-law/develop

closed #4990. Fix the error when rename file on windows.