The first error is caused by a non-compressed file, I can fix it easily.
But the second one is a problem because it seems encrypted, additionally the field that I thought was related to compression here is zero instead of 2 while the data is compressed because compressed and uncompressed size are indeed different.
Also the flag is 0x100 like all the other files.
In short I don't have any way to recognize if this file is encrypted/invalid or not, luckily it's just the last file so "who cares"

Anyway I updated the script by checking if that field is 0, 1 or 2 and, long story short, it can dump ("as-is") also the last weird file of the patch archive.