Fixed moving a file into itself.