Uses withDefaultCsvWriter in KMeans too