added support for pyusb >= 1.0