Robust high-average-power modulator