'Normalize a path\'s Unicode combining form according to the
platform.'

def _normalize_path(self, path):

    path = path.decode('utf-8')
    norm_form = ('NFD' if (sys.platform == 'darwin') else 'NFC')
    path = unicodedata.normalize(norm_form, path)
    return path.encode('utf-8')
