Handle result of write! and writeln!
This is probably the patch with the largest amount of question marks added to code ever.