CIFS: Add SMB2 support for build_path_to_root