fix readdlm regression. fixes #6376

eltype checks for readdlm return values.
Merge pull request #6381 from tanmaykm/readcsv

fix readdlm regression. fixes #6376