Fixes traceback when flickr_api.upload() photo_file string is unicode

Potentially fixes issue https://github.com/alexis-mignon/python-flickr-api/issues/19 as long as it causes no regressions.