Added support for CurlFile

PHP Complains that the @ method of referencing a file is deprecated, this commit replaces that with a CurlFile() call instead