gitk: Synchronize config file writes