Fixed a bug where exported files would have "download.csv" as file name.