fget: check that the fd still exists after getting a ref to it