clean up old files in directory before downloading new github snapshot