fixed loadCSV to support windows CRLF