Adjust csv writer to accept any type of text character.

For trying with windows clipboard and unicode and QT.