remove out directory before copying to it

Change-Id: Ifd525ad29fc24f23ef33e88cad703fe44dc0edae