Write the entirety of the decompressed file.

Instead of writing just part of it.