Deposition of halogen doped silicon oxide