[BUGFIX] Fixes ZIP generation

Some t3x files are corrupt and ZIP file generation
will crash every time if a file is corrupt.
Due to the run with offset it will never get further

Change-Id: I7ca87a4746fa3006821d7e3c16b2e3c5ce1d01ab
Resolves: #35920
Reviewed-on: https://review.typo3.org/29804
Reviewed-by: Stefan Neufeind
Reviewed-by: Tomas Norre Mikkelsen
Reviewed-by: Thomas Löffler
Tested-by: Thomas Löffler