Render views to a stream instead of through the closure