Adding correct escaping with %q().