fix unix version of os_get_config_path to make it append a slash to $HOME