Fix scenario name escaping

* it is better use proper shell quoting
* when replacing placeholder the replacement should be treated as
  literal without interpreting backslashes