Fix Rename, Search/Replace on windows platform