Government borrowing reached £11.8bn last month, the highest August figure since records began.