Backport build changes to support Python 3.x.

* build/check.py: Backport r1833223 to add parentheses around 'print' statement.
* SConstruct: Backport r1814604 and r1811083 to add parentheses around 'print'
  and decode file contents as 'utf-8'..

Reviewed by: astieger, rhujiben


git-svn-id: https://svn.apache.org/repos/asf/serf/branches/1.3.x@1875933 13f79535-47bb-0310-9956-ffa450edef68
3 files changed