Fix the error in cocos2d-console when rename files on windows.