[Python] upload file using PycURL