I'm pretty sure there isn't a way. You are deleting the whole filesystem, therefore all of the files will be deleted. And on top of that you are installing a new filesystem, re-writing it on top of the old files.
So no, I don't think there is a way. Just put the stuff somewhere, go to a friends house and put it on his hdd or something.