replace_in_chunk for m3u8 concat