I\'m creating an API with slimframework and I have a route where I\'m trying to export data to an excel file and download it instead of saving it but when I try to do it it