Fixed multibyte issues of csv parser; optimized csv parser