Use more unsafeInterleavedIO to make the output stream lazier