Use the canonical file name also for the "already open" check