bug 936068 - fix packing with -o to work in Fx26

very simple change to use old mozilla-style generator functions