fix download of export files