escape name of extensions

Bug triggered when trying to install `uuid-ossp` extension
Merge pull request #10828 from ticosax/mogrify-extension-name

Mogrify name of extensions