Fix rsync scripts.