implement upload-related support for open_basedir