getAppDataDirectory

A place to store application data on Mac, Windows and Linux
Feels a bit inconsistent to have this check here, since the paths on other platforms aren't checked for existence and also the `getHomeDirectory` API doesn't check that paths exist.