Convert to plain C and rename to mtstream.