utf8: add is_hfs_dotgit() helper