U.S. industrial production edged higher in July, as production of auto parts and motor vehicles jumped.