Add IO.File.setCloseOnExec() method

Used to set (or clear) the FD_CLOEXEC file descriptor flag via fcntl().