Fix MantidPlot screenshot test.

The extension is now expected as part of the filename.
Refs #5321
Merge branch 'feature/9521_sphinx_doc_directives' into develop