implement rename
Merge branch 'master' into work2
fix warnings
removed open file after rename
Merge pull request #358 from dart-lang/rename

implement rename