Replace usbreset.c with python fcntl.ioctl