Not sure if this is the right way to go about it, but it does silence the remaining warnings about NSFilenamesPboardType. Tested on Mojave.