`cat` and other system commands use (new)fstatat with AT_EMPTY_PATH flag
This is not working correctly, as we return that the fd
is not a directory.
The issue is resolved taking care of the flag, and returning the relative_path
(as the fd
is valid and opened in the client)