Fix DOM.serializeForm to handle file inputs correctly: value is the FileList