[flashrom-gerrit] Change in flashrom[master]: cli_classic: prevent corruption of flash when stdout/stderr is closed