Fix dstr_end bug (it's len - 1)

Somewhat of an embarassing fix.  Using 'len' will just return the null
terminator.