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