scripts/tfw2xml: fix for using with ash shell