Here's a maintained repo of country codes with friendly country names in multiple languages and in many formats, including text, CSV, JSON, YAML, XML, SQL, and others:
https://github.com/umpirsky/country-list
The English CSV dump from the above repo: https://github.com/umpirsky/country-list/blob/master/data/en_US/country.csv