A concept to mitigate parasitic lasing in mid-IR fiber amplifiers using a single long period fiber grating is shown. Using tightly confined ultrashort laser pulses at 800 nm, a grating was directly inscribed into the core of an erbium doped fluoride glass fiber showing a strong attenuation down to -27 dB at desired wavelength. The concept reveals great potential to improve the average output power and attainable spectral range of low repetition rate in-amplifier supercontinuum generation.