Fixed a bug in escaping forwarded shell arguments