fix baddata test for perl wrapper

fix a few issues withlibxdifile
make windows icon for xdi fles