Fix cheat hanging if the pager is quit before consuming all input
Fix cheat hanging if the pager is quit before consuming all input

An easy test of this is with `cheat iana_port_list`.
If less is quit immediately, cheat will hang forever due to the improperly closed pipe.
But when the pipe is closed properly, it will get an Errno::EPIPE instead, so we have
to handle both conditions.

defunkt/cheat