Fix configfile overwriting.