[php] How to create and download a csv file from php script?