Reject failed renames with exception
Reject failed renames with exception

This results in a nicer display of the message.

Fixes #779.

Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code