Support outputting header, clusters, and cues to separate files. Change-Id: Ia89bf59ddbddc094c3daf944123fd01630ae9193