I don't *think* you need the str() around the type, but I might be wrong. I seem to remember finding something about it being the field name that needs to be bytes, not the type itself. Of course, it will work fine this way too, but just curious.