Use node Stream API for server-side rendering.