use asynchronous version of fs.exists