Catch possible MethodAccessException caused by Directory.GetCurrentDirectory() which is not allowed in the Unity Webplayer sandbox