support media uploads on the dev app server without requiring PIL