[PATCH 5.15 617/691] comedi: ni_routing: tools: Check when the file could not be opened