U.S. stocks took small losses Wednesday as energy companies fell with the price of oil and chemical and materials companies traded lower. That pulled the market lower for August, ending a five-month winning streak for stocks. The losses were very small, though, as this proved to be one of the quietest months in recent history for stocks.