allow config to set static file upload dir