Serialize/Deserialize the texture pack.