Compare with bytes left when checking compression.

The last sector of a file may be uncompressed if the sector length
is less than or equal to the the number of bytes remaining.