See this thread
From Ex Machina in that thread: "As for opening DNG in Photos, Preview, and having them work properly in Finder previews and Quick Look, yeah, I retrieved the previous version of both RawCamera.bundle
and RawCameraSupport.bundle from a Time Machine backup, turned off SIP, and...