Added code in -setObjectWithMethod... to pass along more errors

There are a couple of calls in `-setObjectWithMethod:file:destinationPath:parameters:progress:success:failure:` that can produce errors, but they get buried, never returned in the `failure` block. The client is then never aware the call failed at all.

I added code to check for those cases, and call the `failure` block before exiting.