move digest name free function into dfxml module