write multiple entries with a buffered io
refactor on buffer writes
Merge pull request #82 from coreos/master

write multiple entries with a buffered io