patch to avoid file corruption with mod_deflate