Replace existing `file` parameters in the download elements (see #5683)