Add protobuf streaming functions to fileutil