_dictlist_to_csv implemented using csv.DictWriter