Add SIGPIPE handler for fifo writer