xkb_keymap_get_as_string requires that the string it returns is freed by the caller.
Fixes #227
Fixes #217