Fix some sbuf/sbufl bugs.