Fixes #4548: correct file handling on cfengine