Fix os.sep in rsync paths