rename packed classes file
close stream at end