python: Fix print usage for Python3