set is_streamed before writing data to output file