Fix explicit names on multiple file fields

(This is relatively the same as #10105 but against the master branch.)

If a file field tag is passed the multiple option, it is turned into an array field (appending "[]"), but if the file field is passed an explicit name as an option, leave the name alone (do not append "[]").

Fixes #9830