Fix rsync transfer for Mac clients and fail on rsync error.

From the OSG Jira CAMPUS-71 and CAMPUS-28