more careful handling of timerfile for setting todo.done