Signatures of a flavor changing Z′ boson in B → γZ′