Write the configfile twice, once in the commitdir and once in the main configdir