Use Django's `six` module to deal with unicode and strings and bytes