Fixed escaping quotes when generating strings.