set MEDIA_ROOT to app_data_dir to avoid using an uninitialized directory