Fix for WK-66: Writing UserPref/WS.json files in Offline Mode