Revert all close-on-exec changes from earlier today

with b26cc125 these are no longer needed.