Use CURLFile instead of `@` syntax

Fixes a deprecation error on later PHP versions.
Merge pull request #7 from compwright/curlfile

Use CURLFile instead of `@` syntax