[flashrom-gerrit] Change in flashrom[master]: dummyflasher: Add error check for file read