Fix copy/paste error and 'or' FD_CLOEXEC into the existing flags instead of just setting it outright.