Transform print statement to print function

Needed to comply with new hacking>=0.8.0,<0.9 requirement.

Partial implement: blueprint py33-support

Change-Id: I478a47c814462a4f7edb0f389a00666bc901af77
Merge "Transform print statement to print function"