ENH: raise a more a useful exception on empty files
Merge pull request #3989 from cpcloud/empty-csv-fix

ENH: raise a more a useful exception on empty files