Correctly write current cursor theme name to ~/.icons/default/index.theme.
Deprecate the use of XCURSOR_THEME environment variable.