Remove code made unnecessary by #28

I didn't notice this when I made my previous pull request. But this code should no longer be necessary due to the `signal.signal(signal.SIGPIPE, signal.SIG_DFL)` line I added.