U.S. inflation was stronger than expected in August, despite the Federal Reserve’s attempts to combat it through interest rate hikes, data released Friday shows.