Safe shell command escaping