files: minor improvement to config file generation script