Update First(n int) to read no more data than necessary (#199)
First(N) now closes its output after it has read N lines, terminating the pipe
without consuming unnecessary further input (apart from the 4KiB scanner
buffer).
Co-authored-by: John Arundel <[email protected]>