C:TaskList: Report an error instead of crashing if task.resource can't be opened.