protected function getBinaryArgs()
    {
        $bArgs = array();
        foreach ($this->options[0] as $k => $v) {
            if ($k != 'file') {
                $bArgs[$k] = $v;
            }
        }

        if (!isset($bArgs['key'])) {
            $bArgs['key'] = $this->apiKey;
        }

        $bArgs['file'] = curl_file_create($this->options[0]['file']);

        return $bArgs;
    }