optimize opml export (fix #687)