Family Dollar Stores has booked an increase in third-quarter net income but said the environment remains "challenging".