Added scanLines to hdfs-cli for testing logchopper.