[WIP UNTESTED] render: Provide an estimation of the output file size

Fixes bug #637079