s/print/print()/g

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Catch exceptions in a Python3-friendly manner

Signed-off-by: Jerome Flesch <jflesch@gmail.com>