Fix parsing of usb devices

This creates a temporary file with the lsusb information, which allows
fseek to work properly.