Dump to a file the links to retrieve and the links which are already fetched.