Don't use sprintf() - use ep_strbufs and ep_strbuf_append_printf()