A golang package to buffer writes to memory and flush to disk as needed