Check fs.stat presence when using path in electron
Check fs.stat presence when using path in electron

Some browsers like brave are using electron but not exposing fs functions in the browser.
This checks we will be able to read the file before using the path.
feross/create-torrent