_demos/output.go: Sync() after changing output mode.