shorten filename by os.path.basename in guess_filename(obj)
Merge pull request #1153 from cbare/master

use only base filename in multipart file upload