When a file system has `fstat` and `open` implemented, `stat` can still be missing. The new function is a generic implementation, and used in fatfs to provide a `stat`.
When a file system has `fstat` and `open` implemented, `stat` can still be missing. The new function is a generic implementation, and used in fatfs to provide a `stat`.