Use `dstr_putf' for formatting, rather than `sprintf'.