Make #rsync a bit more robust.