Replace print >> with six.print_(), refs #38