Man pulled his dog in a cooler so its paws wouldn't burn on the hot pavement