Use built-in print() instead of print statement

In python 3 print statement is not supported, so we should use
only print() functions.

Fixes bug 1226943

Change-Id: I05f042dc247ac117f6c2823d1326a88059875b79
Merge "Use built-in print() instead of print statement"