Added support CURLFile in installations running PHP 5.5 or higher.

Added support for PHP 5.5's CURLFile. Backward compatible with PHP < 5.5 (but not tested with PHP < 5.5).