US discount retailer Family Dollar Stores has recorded a drop in third-quarter earnings but said sales and profits came in at the upper end of its guidance.