Node's zlib takes raw buffers as input, not strings