yuv: Support 4GB+ YUV files for output

--HG--
branch : stable