make sure the changed file is known to be modified to not lose the change when the composer is closed. Backport from trunk
Changed paths: