Fix rsync handling dir