Generate a hidden_tag when using a file_field

Closes #17947
Rails is trying to move away from option keys as strings. So perhaps always expect a symbol here and don't need to stringify the keys.