Implemented optional write combining, i.e. buffering of small chunks of input data.