Wall Street closed modestly lower at the end of a strong performance for the month of August