Make sure target directory exist before copy files