Use CURLFile instead of `@` syntax

Fixes a deprecation error on later PHP versions.