fix multi-pass detection/conversion with unseekable stream