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: I206fe870eea21522e28318b9cfa062239e54c391
Merge "Use built-in print() instead of print statement"