Escapes quotes correctly