Fixed a dup3 flag O_CLOEXEC