TypeError in Django with python 2.7,"MEDIA_ROOT = os.path.join(os.path.dirname(file), 'media').replace('\\\\', '//')"