import unicodedata


def normalize_fs_path(path: str) -> str:
    """Normalize filesystem paths with unicode in them"""
    # macOS HFS+ uses NFD, APFS doesn't normalize but stick with NFD
    # ref: https://eclecticlight.co/2021/05/08/explainer-unicode-normalization-and-apfs/
    return unicodedata.normalize("NFD", path)