treat empty field in a csv file as "missing" rather than "bad"
strip \r from end of data lines on input;  allows DOS format *.csv files to be read
New function existfile()