BUG UploadField: overwriteWarning overwrites replaceFile=false

A warning should not overwrite the config it should warn about.

If somebody likes to see replaceFile=true by default, please do it in config.yml

#2904