Fix unmodified files not being rewrote with the default replacement.