On replaceFileInput store a reference to the new input

Store the new cloned file input in the data as "replacedFileInput"

Test for it with

    data.replacedFileInput || data.fileInput

I propose this because I am using the file upload for global uploads and for uploads in different areas. I wanted to be able to trace back which input was used and where it was used. But since the original is the one referenced in the data, it is no longer in the document.