WP-2288 Changes to use the temp dir for downloading csv xray files