CB-6781: Expose FileTransferError.exception to application