Learning from other diseases: protection and pathology in chronic fungal infections