[webui] catch IOError in log file retrival