fixes py27 print statement in windowiterator