transferring data is the same as the one that was created in newUSBTransfer.
move transfer callback to transfer.go.