Only process zip file once at the end

Do not close and reopen for each file entry, but only do the utf-8
fixing once after the final close.