[minor] add deflate compression as fallback
[fix] do not callback on errors
Merge branch 'master' of https://github.com/3rd-Eden/versions
[tests] add #write tests
Merge pull request #15 from Swaagie/master

Support both deflate and gzip