Pass all args as kwargs instead of *glob + kwargs=
Add build/* to gitignore
Don't overwrite the pass-by-ref params
content_encoding is undefined if filename is "-"

Define var before use. Cutting edge computer science in
action.
Old-style exception storage
Merge pull request #117 from sshirokov/master-compat

Fix upload from STDIN and Python2.5 compatibly