Beam expanding fiber using thermal diffusion of the dopant