A deadly fungus that has wiped out hundreds of amphibian species worldwide may have started its global journey in Brazil.