Open pipe with O_CLOEXEC.