__name__ attribute error in app_settings on App Engine (closes #186)