fun writeRows(rows: MutableList<Pair<String, Pair<MutableList<Long>, Dupe>>>): Long
writes out a list of duplicate data rows to a csv and returns the number of rows written