Instead of using a Scanner to read lines in head, look for the offset and copy
Instead of using a Scanner to read lines in head, look for the offset and copy

This fixes two bugs:
 - trailing CRs were being stripped from the output, because the ScanLines
   implementation does that
 - long files without newlines weren't being printed at all

deorth/hdfs,deorth/hdfs,cvvs/hdfs,dklassen/hdfs,colinmarc/hdfs,ashishgandhi/hdfs,dklassen/hdfs,cvvs/hdfs,colinmarc/hdfs,ashishgandhi/hdfs