Fixes the root cause of loss of unicode strings: mutating data in the csvwriter.