Adds workaround for content in zip containers

The stream from the file in the zip can't be rewinded so it's closed and reopened again