I'm not sure of the answer to the original question, but this appears to be the Hell-Volhard-Zelinksii (sp?) reaction. However, P or PBr3 normally is used for both chlorination and bromination reactions. In any case, neither chlorine or bromine act as nucleophiles here-they are electrophiles, with the enol form of the acyl halide behaving as the nucleophile.
The Br-Br bond is weaker than the Cl-Cl bond, so that may be the reason bromine reacts faster.