The Associated Press quotes police as saying the security detail was returning cars from Iraq 's Kurdish north to Baghdad when gunmen opened fire .