Add escape character for exclamation mark

Exclamation marks in shells require escaping.