HPCC-10666 Operations on Files should not, by default, change the state

Add fix.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
(note the "by default" in the original bug report)