Borrowing was lower than a year earlier, but was still the second-highest on record for August.