What to put on these threads?

Filing the chrome neck's base (if they don't have an O-ring) usually doesn't work.
They just warp at the center from heat and will leak.