Fix stdout redirection in PySpark.
Merge pull request #435 from JoshRosen/pyspark_stdout_fix

Fix stdout redirection in PySpark.