Automatically migrate configuration files to the new format