discover/paths: Add stdout callback parameter for load_url_async()