[cvs-nhc98] patch applied (hat): Make hat-detect work again, using the new file format for hat versions > = 2.00.