Generate a hidden_tag when using a file_field

Closes #17947
Actually this call is to make sure we have a consistent set of keys in the hash before changing it, so we need it.