Amarillion 002 downloadsingle usage

I've changed a set of scripts over to the new DownloadSingle function in php-lib/utils.php. I'll do more as I'm going along testing and running them.