Use the writeioerr macro in _usb_write