Fixes the "usb.core.USBError: [Errno 16] Resource busy" by detaching the
kernel driver if already attached.