arp2gen file write fix