Rename on a mixed file system works incorrectly if the name is mangled (and there is a case collision on the original name).
Ditto for rmdir and remove.
Work Around
remove and rename should not be used on a mixed file system for now (this applies only to mangled names).
rmdir also should not be used on case-insensitive and mixed file systems, if the name is mangled.