Fix MantidPlot screenshot test.

The extension is now expected as part of the filename.
Refs #5321