Add more headers to download.php

Does now also rename the downloaded file