Fix to bug #5752.
The bug report is located at https://gna.org/bugs/index.php?func=detailitem&item_id=5752.
The problem was simply two calls to 'file.pipe_write()' which should have been 'file.write()' as 'file' is a real file object.
Authored by: bugman 2006-04-11
Parent: [r2462]
Child: [r2464]