fix destroying of cloned file inputs, closes #103