use cstringio rather than += on string in libev