Add support for Sources files so that the deb-src line created by apt-add-repo doesn't break stuff.

Includes a terrible hack for zero-byte uploads on S3, sorry.