fix 0 byte file for srt and other small file