Escape quote characters in settings file