Add a screenshot utility function
Dump a screenshot when the target intermittent failure fails