Add method to save texture to disk.