dump: flush buffered writes

Conflicts:
	dump/write.go