static inline char *
xstring_get(xstring *str)
{
char *ret = str->buf;
fclose(str->fp);
free(str);
return (ret);
}