Ways to save AddOn settings

I’m wondering what are the ways to save addon settings?

There is AddonPreferencesbut as far as I found it’s intriduced in 2.65 so it wont work with previous versions.
Until now in CryBlendwe are storing preferences in custom file withing this directory:

        self.__CONFIG_PATH = bpy.utils.user_resource('CONFIG',
                                                path='scripts',
                                                create=True)

Link to file: configuration.py.
unfortunatelly it returns empty string in case there are non ASCII characters in path. In my case on windows I have “C:\Users\Mikołaj_2” and “ł” is replaced by crappy characters.

Console output:

Traceback (most recent call last):
  File "D:\Blender\2.69\scripts\modules\bpy\utils.py", line 556, in user_resource
    _os.makedirs(target_path)
  File "D:\Blender\2.69\python\lib\os.py", line 258, in makedirs
    makedirs(head, mode, exist_ok)
  File "D:\Blender\2.69\python\lib\os.py", line 258, in makedirs
    makedirs(head, mode, exist_ok)
  File "D:\Blender\2.69\python\lib\os.py", line 258, in makedirs
    makedirs(head, mode, exist_ok)
  File "D:\Blender\2.69\python\lib\os.py", line 258, in makedirs
    makedirs(head, mode, exist_ok)
  File "D:\Blender\2.69\python\lib\os.py", line 258, in makedirs
    makedirs(head, mode, exist_ok)
  File "D:\Blender\2.69\python\lib\os.py", line 258, in makedirs
    makedirs(head, mode, exist_ok)
  File "D:\Blender\2.69\python\lib\os.py", line 258, in makedirs
    makedirs(head, mode, exist_ok)
  File "D:\Blender\2.69\python\lib\os.py", line 266, in makedirs
    mkdir(name, mode)
PermissionError: [WinError 5] Odmowa dostępu: 'C:\\Users\\MikoĹ\u201aaj_2'
<!> event has invalid window

So what are elegant ways to handle addon settings in blender 2.6x?

you should try

import os
os.fsencode(YOUR_PATH_STRING)