remove temp files when repackaging