process: don't close stdio fds during spawn

This is needed when closed stdio fd is reused for uv_spawn pipe.
Fixes #1211