replace __unicode__() with text_type for python3