Add an option for the maximum number of points to output in a line.

Lines with more points than that get split into multiple output lines.
Default is the previously hardwired 10.