Fix #231: upload_file() fails when file_or_path is open file larger than 5GB and obj_name is specified