Add fs.Stats to type error