smoothstreamingenc: Move the output_chunk_list and write_manifest functions up