Wall Street extends rally, looks to close August on a strong note