Exec: add option for ruby 1.9 FD behavior for 2.0

Ruby 2.0 changed the behavior of file descriptors when doing a Kernel.exec.
Where in 1.9 it wouldn't automatically close non-standard file descriptors
when doing a Kernel.exec, in 2.0 the default is to close them.

Issue #2628