fix incorrect translation between Writer.write() and StringBuilder.append() APIs re: length vs. end idx, fixes NREPL-38