Rename file fixes.  Prevent deleting a file by renaming it to itself.  Also confirm overwriting other files and update the session when doing so
Merge pull request #394 from TheKiteEatingTree/rename

Rename file fixes