use StreamExts for LegacyMapImporter