Check for already existing files and folder before rename.
comments.
Merge pull request #2562 from dart-lang/fix_rename_bug

[bug[ Check for already existing files and folder before rename.