work with bytestrings, unicode strings makes csv module unhappy