MemoryStream is disposable and holds resources, so wrap it in using()