Form enctype was not being set correctly if File elements were inside a collection.
Fix against master, and should be applied to develop as well.
Form enctype fix when File elements are within a collection
Found during work of File element refactor, in #2439. Will remove fix from that PR.
Merge branch 'hotfix/2619' into develop
Forward port #2619
Merge branch 'hotfix/2619'