Fix flagged files and ensure that flagging_mode="auto" saves output components as well (#7704)
* interface
* docstring
* changes
* changes
* add changeset
* changes
* add changeset
* changes
* add changeset
* changes
* changes
* fix
* changes
* add changeset
* flaggin
* simplify
* changes
* helpers
* filedata
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>