Fixed `lines` to not generate spurious blanks lines.  Fixes #23.