#492: file re-upload implemented for browsers that do not support html5.