Fix compression.
Merge pull request #11 from jhaoda/upstream

Fix compression.