Escape some regexp special characters when synthesizing merged stylesheet.