refine hls, ts temp file use ext .tmp