Updated string and file header with unicode utf8 features

django-generic-m2m crashes when related models meta name contains utf8 characters. This commit fixes this.

Please review with Python 3 as I am not sure if this changes works with 3 version. Verified with version 2.6 and 2.7