bug fix

handle a special char '\r' in case the processed file
comes from Windows (most likely)