more work moving wordcount_csv to core