Error callback should always be called with the FileTransferError object, and not just the code
exec guarentees that proxy is called with success/error function so there is no need to constantly check that it exists
removed unneeded String() casting all over the place, fixed my own missing ) error