Text this: Mid-infrared all-fiber gain-switched pulsed laser at 3 μm