Family Dollar appoints longtime CVS executive as president and COO