Fix usb.write error.
Merge branch 'refs/heads/rob' into alden