Return the old behavior of clearing input.

Not clearing turned out to introduce more problems. The old behaviour
is fixed as well, as before it was just setting the text without updating
the file cache.

Refs #6691
Merge branch 'feature/6691_muon_save_deadtime_file' into develop