SMS changes and libosmocore changes for supporting more letters, plus writing the KCs to file