Fix for file reset in old IE

In old versions of IE the value of an input file is read only so for
reset we move the input into a temporary form, do a reset and then move
it back.