remove cat command dependency in beautify_config_body.