Send stream information in metadata to writeStream