fixed backup of target directory; was backing up source when a target was supplied