pidl: fix handling of output arguments in s3 client stubs.