arrayToCSV() fixed for use in Neko

It seems neko converts Int arithmetic to a Float, which is an invalid accessor for arrays.