Fix and speed up unzipping.