Converts old type of OpenCV HaarCascade xml data to the new one.