Fix the issue that only one(last one processed) document in output manifest for one type
i.e Audio now can have doc1.wav, doc2.wav, doc3.mp3, ..., docN.xxx