As Babcock_Hall said, you could try DCC/DMAP (Steglich Esterification), which should avoid any difficulties involved with forming the acyl chlorides. It is also carried out under basic conditions, so you'd avoid any issues associated with protonation of your pyridines. I'd go for that.