Drying and packaging of moisture-sensitive materials