Stream larger file download

fix #2488