delete the target dir before attempting to move stuff there

fixes #1