In the battle against mosquito-borne diseases that kill hundreds of thousands of people each year, scientists turned to an unlikely ally: a fungus that smells like flowers.