Fix performance bug with new Python code not using buffered streams
Fixed PySpark perf regression by not using socket.makefile(), and improved
debuggability by letting "print" statements show up in the executor's stderr