port geda generator to use str.format instead of % formatting