fetch: replace static buffer with xstrfmt