[flashrom-gerrit] [S] Change in flashrom[master]: tests: Add fwrite and fdopen to io_mock