IOStream->writeln: critical bugfix