Librato cbuf encoder

I would drop this library and just use t[#t+1] since you are only doing a simple insert.