A data sink class that do buffering instead of instant writes