Bug 1054326: Initial attempt to submit Imagecompare test framework and test cases int...

...o the main branch
Use string formatting here:
```python
filename = os.path.join(self.reference_images_path, '%s_%s_%s.png' % (
    self.test_name, self.version.get('device_id'), index)
```