fixed Trac#29 causing slapcat + gzip not to work