Export also unicode data as CSV

Added support for unicode so that export to CSV does not fail anymore on such data.