better handling of empty file in readdlm.
fixes #6898
Merge pull request #6902 from tanmaykm/readcsv

better handling of empty file in readdlm.