Support systems where O_CLOEXEC is unavailable

(e.g., Linux <2.6.23, OS X <10.7)

Resolves #10