compare buffers to buffer rather than buffer to string - refs #6