Remove Python2 specific use of iteriterms.

Change-Id: I3f753ad6208ae9fffcc10ae61d4e406e6230a022