[extractor/common] Properly escape % in MPD templates (closes #16867)