Update __init__.py

Fixes for basestring and hopefully keeps backwards compatibility