avformat/hlsenc: use one handler for m3u8 and segments