add snappy compress support