Cavs avoid the sweep in NBA Finals