rewrite zip file