Implement saving a tileset.