Fixes #3618 : correct CFEngine code to have proper reporting on file edition