Upload or remove a file-backed configuration entry.
Stores the uploaded file at {media_root}/config/{key}/{filename} and
updates the Config document's value field with the resulting path.
If file is omitted, the existing file is deleted and value is set to null. Replaces any previously stored file for the same key.