Catch up to recent changes in TextFile (spotted by Bastian Kleineidam).
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py
index 6de703e..9b9f606 100644
--- a/Lib/distutils/command/sdist.py
+++ b/Lib/distutils/command/sdist.py
@@ -332,7 +332,7 @@
                              join_lines=1,
                              lstrip_ws=1,
                              rstrip_ws=1,
-                             collapse_ws=1)
+                             collapse_join=1)
 
         while 1:
             line = template.readline()