media: Add back the duplication of fd inside MPEG4Writer.

The fd passed in from application may be closed by application. So it needs to
be duplicated.

Test: Screenrecord
Bug: 34596564
Change-Id: I8b633e2aad6a6371296427e891985ae4892b00aa
1 file changed