Don't allow renaming a file to a directory/ or vice versa, or a deleted file.

--HG--
branch : HEAD
1 file changed