[cvs-nhc98] patch applied (hat): Fix for generating hat-trans, was broken unless a directory already existed