Fix decompression. Existing code was relying on undefined behaviour (and, more practically, was not working for me).
Remove redundant copy of compressed data.
Merge pull request #3 from th-in-gs/fix_decompression

Fix decompression.