Output the last n lines of a file.

Uses a temporary database, so only one line at a time is needed in virtual
memory.

Should work with unicode.

Should work with huge files.

Not especially fast.  O(n).