Add escape for exclamation mark

Exclamation marks in shells require escaping.