Python3 fixes (use instead of `print` statement).