Bit of safety around O_CLOEXEC

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>