tldr; When writing to csv, how do I ensure the last element of a previous write is separated from the first element of a subsequent write by a comma and not a n