Fix #186. Also fix a bug when uploading changed binary files. Also, use upload rate limiting.
Pep8