Need to close the cwd file descriptor