Fixed bug with fs.list