git_config_rename_section_in_file(): avoid resource leak