Fixed chunking bug in javascript csv2scidb function