fix delete
addressed commente
Merge pull request #271 from dart-lang/deleteFile

 fix delete to ask for confirmation before deleting