Add method to get local app data directory.
Fix path for linux.