Fix Django 1.4-1.6 compatibility.

``django.core.handlers.wsgi.ISO_8859_1`` was only added in Django 1.7.
I would much rather this be done as a try/except ImportError so it's clear it's dependant on the Django version.