implement rsh compatibilty flag (--rsh)

This is used for passing to rsync, for e.g. CopyIn/CopyOut requests.