   return stat p, callback unless isAsar
 
   # Do not distinguish links for now.
-  fs.lstat p, callback
+  process.nextTick -> fs.lstat p, callback
 
 statSyncNoException = fs.statSyncNoException
 fs.statSyncNoException = (p) ->

  stats = getOrCreateArchive(asarPath).stat filePath
  return callback createNotFoundError(asarPath, filePath) unless stats

  callback null, asarStatsToFsStats stats

statSync = fs.statSync
fs.statSync = (p) ->

  archive = getOrCreateArchive asarPath
  return callback throw new Error("Invalid package #{asarPath}") unless archive

  process.nextTick -> callback archive.stat(filePath) isnt false

existsSync = fs.existsSync
fs.existsSync = (p) ->
