Deprecated django.utils.importlib

This was a shim for pre-Python 2.7 support.
Add utf-8 preamble to admin_scripts temp settings file

As some settings are copied from current user settings, we cannot
be sure the characters are pure ascii.