remote-copy scripts used for tests and in examples do not adhere to the 'same api as ssh/scp' rule