US retailer Family Dollar has posted an 10.7% increase in profit for its second quarter, on the back of increased consumer traffic.