Bug 795243 - utils.saveScreenshot should be synchronous