Fix AttributeError on devices without bulk xfer.
Merge pull request #3 from mickm/no-bulk-fix

Fix AttributeError on devices without bulk xfer.