generator: auto escape string constants