Ruby 2.0.0-p0 compatibility

Ruby 2.0 does not seem to respect CLOEXEC=0. There is an API to inherit
FDs using Process.spawn. This is a bit unfortunate because the
parent process sticks around for longer than is necessary; however, it
does work.

@wisq @samuelkadolph