fn get_userdata_base_dir() -> String
Get the base directory for userdata storage. Returns the Tauri-resolved path if available, otherwise a fallback.