Folder rename bugfix on Windows