Remove the stdout file from exception checks