Store data format version in stream
ProtoBufDataWriter refactoring