writeStringLiteral
private fn
void writeStringLiteral(Out)(ref Out buf, const(char)[] s,
CdmFormat.QuoteStyle style) @safeWrite a string literal with appropriate quoting.
Backtick style is only used when the content contains no backtick; every other style (including NONE and SINGLE, which SDL cannot express for strings) falls back to escaped double quotes so the output always re-parses.