avformat/hlsenc: fix hls_flags temp_file bug