utils.version StringType replaced with basestring (works with unicode)