Merge "MTP: Use stat.st_mode instead of dirent.d_type to determine file type."