support snappy compression