remuxer: Fix timing of fragment file mode setting.