Changed save_csv functions to write_csv in name, and they now append a line break at the end.