upload using urllib2 in python