static-handler: fix compression

Fixes the compression part of https://github.com/pagespeed/ngx_pagespeed/issues/212