fix a problem with the download (downloaded files erroneously contained multiple lines for each plot).