Subclass file with a __len__ method instead of setting Content-length
This is necessary for the next patch to work with python2.3
Refactor the subclassing of send()
Flush stderr after write.
stderr can be buffered under win32 when redirected to a file,
including stdout.
catch AttributeError in util.checklink
There's no symlink function in the os module on windows.
Fixes
issue468