I/O: Make sure to ignore SIGPIPE.
Under some circumstances Stdio.sendfile() will use blocking I/O.
If the other end then closes the connection before all data is
sent sendfile() will fail with EPIPE and kill us with SIGPIPE.
We don't want to die...
Fixes some of [bug 7582 (#7582)].