Make uses of quote_slashes always operate on encoded strings