I moved `defaultDtype = numpy.uint8` down below the imports. Not sure if this will mess anything up with python imports.