Add snappy support for avro and protocol buffers.