[modules/core] input writing to disk now uses with statement and f string
[modules/core] input writing to disk now uses with statement and f string

mcolom/ipolDevel,mcolom/ipolDevel,mcolom/ipolDevel,mcolom/ipolDevel