always close stream in VersionInfo