TIL that UTF-8 encoding for filenames for mac is insane and incompatible with other systems. It uses different form of normalization. convmv should be used to fix filenames.