I assume that you are running on Windows?
The behaviour you are seeing is an idiosyncrasy of Windows where it ignores requests from a program to rename a file where the only change is to the case. That is why you need to use the workaround that Kovid mentioned of renaming to another name and then back again.
|