Store closings knock Home Depot earnings down