follow XDG Base Directory Specification for user configuration directory and migrate previously created directory