Leaching of metals with fungi