Prevent special characters finding their way into layout handle due to SKU being used.

This avoids page cache issue when Varnish tries to retrieve ESI with invalid URL on
product page.

Now on top of 0.42.0-beta1.