Don't dispose the file stream when reading metadata.