read_file: Speedup by 2 by not comparing all data every line, just check line count
read_file: Allow this to just use cat(1) which is far faster with large files.

  with read(builtin):
    ~ # /usr/bin/time sh test.sh /tmp/test|wc -l
            3.66 real         2.41 user         1.25 sys
        1720
  with cat:
    ~ # /usr/bin/time sh test.sh /tmp/test|wc -l
            0.01 real         0.00 user         0.01 sys
        1720
  with 1 line and read(builtin):
    ~ # /usr/bin/time sh test.sh /tmp/one|wc -l
            0.00 real         0.00 user         0.00 sys
           1
status: Fix extra junk showing in testport status
Fix update_stats() being extremely slow by using cat(1) for all ports. list files

Reported by:	antoine