Thermally diffused expanded-core fibers with gain or loss