Csv readlines was reporting incorrect line number on files with \r\n newlines (causing the "SafeMode works when inferRows limit is reached" test to fail) and also on csv files without headers