usbstorage: error handling and better return codes