FSPathMakeRef is deprecated: use LSOpenFromURLSpec instead of LSOpenFromRefSpec