Target reported quarterly earnings that beat analysts' expectations on Wednesday, but sales were lower than expected.