Bugfix for issue Tree case-sensitivity with rename #136.

NSFileManager's moveItemAtPath:toPath:error: will consider renaming foo.txt -> Foo.txt invalid since the file already exists. Fix renames in two steps: old -> tmp -> new.