Use folder-stat.

This used to use a custom `stat` function to run `fs.stat` on every file
in the directory. `folder-stat` is an extraction of this function from
`serve-index`, where the custom `stat` function was originally from.