Fix node v0.8 compatability issue with gzip. Fixes GH-31.