Adaptive Immunity Shapes Friendlier Fungi in the Gut