handle error situation of rename proper

fixes https://github.com/owncloud/mirall/issues/1014

Because we did not yet handle error situations on rename properly data loss is possible because 
a failing upload will be reported as success.

@karlitschek @dragotin @bartv2 @icewind1991 @bantu THX