bug #3840 When exporting to gzip format, the data is compressed 2 times
correct previous commit (bug 3840)
Merge pull request #214 from Gemorroj/master

bug #3840 When exporting to gzip format, the data is compressed 2 times