Fixed print calls for python3