Fix the swallow exception bugs when save the xml contact entries