path: add is_ntfs_dotgit() helper