<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

### Issue Details

* **Electron Version:**
11.2.3, 11.2.3, 11.3.0
* **Operating System:**
Windows 10
* **Last Known Working Electron version:**
8.5.5

### Expected Behavior
Electron should correctly load resource from asar with file protocol.

### Actual Behavior
After some runtime any file you try to load from asar fails to load with net::ERR_FILE_NOT_FOUND

### To Reproduce
Run the Electron for 10+ hours and from time to time try to read file from asar. After some time will start getting errors net::ERR_FILE_NOT_FOUND on all files.

<!--
For bugs that can be encapsulated in a small experiment, you can use Electron Fiddle (https://github.com/electron/fiddle) to publish your example to a GitHub Gist and link it your bug report.
-->

<!--
If Fiddle is insufficient to produce an example, please provide an example REPOSITORY that can be cloned and run. You can fork electron-quick-start (https://github.com/electron/electron-quick-start) and include a link to the branch with your changes.
-->

<!--
If you provide a URL, please list the commands required to clone/setup/run your repo e.g.
```sh
$ git clone $YOUR_URL -b $BRANCH
$ npm install
$ npm start || electron .
```
-->

### Screenshots
<!-- If applicable, add screenshots to help explain your problem. -->

### Additional Information
<!-- Add any other context about the problem here. -->

shell/common/asar/archive.cc
if (info.unpacked) {
    *out = path_.AddExtension(FILE_PATH_LITERAL("unpacked")).Append(path);
    return true;
  }
  base::CheckedNumeric<uint64_t> safe_offset(info.offset);
  auto safe_end = safe_offset + info.size;
  if (!safe_end.IsValid() || safe_end.ValueOrDie() > file_.length())
    return false;
  auto temp_file = std::make_unique<ScopedTemporaryFile>();
  base::FilePath::StringType ext = path.Extension();
  if (!temp_file->Init(ext))
    return false;
  base::File dest(temp_file->path(),
                  base::File::FLAG_OPEN | base::File::FLAG_WRITE);
  if (!dest.IsValid())
    return false;
  dest.WriteAtCurrentPos(
      reinterpret_cast<const char*>(file_.data() + info.offset), info.size);
#if defined(OS_POSIX)
  if (info.executable) {
    
    base::SetPosixFilePermissions(temp_file->path(), 0755);
  }
#endif
  *out = temp_file->path();
  external_files_[path.value()] = std::move(temp_file);
  return true;
}
}