US retailer Family Dollar Stores has booked an increase in full-year earnings as the group continued its store openings and benefited from increased customer traffic.