fix php5.5 curl_setopt_array() error

curl_setopt_array(): The usage of the @filename API for file uploading is deprecated. Please use the CURLFile class instead