In python 3 print statement is not supported, so we should use only print() functions. Fixes bug 1226943 Change-Id: I721e67c917ba7018401ad40ef30081883dcec420