Escape log format dollarsigns.