Add ability for CheckGatewayDownloader to save raw downloaded data to a file