Reset bufbytes on flush #37