change print() to syntax with compatibility for python 3

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>