Use print function rather than the print statement

Starting to pay attention to python3 compatibility issues

Change-Id: I571403da7faca1e4468f557a8717a99caed961a6