Making sure files copy over before assuming they did