Used lib2to3
Grepped py3 changes in django.utils.encoding
Grepped py3 changes