fix try catch errors in fs.tjs