Write protocol buffers in binary chunks to files, and read them out again and protobufs