make visual test failure comparison work with relative image paths