Fix an underflow that I encountered when uncompressing a tar file incrementally.

The fix is a bit of a guess but seems to work.