Only update config files when they differ

Overwriting these files unconditionally triggers metadata changes which
prevent the ability of creating identical tarballs.