[flashrom-gerrit] Change in flashrom[master]: tests/: Add file path validation to open() calls