Added error message if Stats.log can't be opened.