make upload.py handle git renames
make upload.py handle git renames

Cleaned up the logic a bunch while I was at it.

Review URL: http://codereview.appspot.com/110056

ligthyear/quick-check,ligthyear/quick-check