Fix by zoggy for python 2.6 errors in print.