Update to logic that handles writing out plist to handle crashing bugs.