Retrieves the file system stats for the specified path asynchronously.
The path to the file or directory.
A Promise that resolves to the file system stats (Stats) or undefined if an error occurs.
Retrieves the file system stats for the specified path asynchronously.