Used CURLFile instead "@filename" when posting files if PHP>=5.5

Used CURLFile (http://php.net/manual/es/class.curlfile.php) instead "@filename" when posting files if PHP>=5.5.

**Note:** PR backported from kaltura/mwEmbed#1235