Critical fix for stream I/O .. output correct buffer length :P