Remove deprecation message on PHP 5.5

Using `@filename` in [CURLOPT_POSTFIELDS is deprecated in PHP 5.5][1]. This PR uses the new `\CurlFile` class instead, removing two Deprecation messages that appear when running the `security:check` command.

[1]: http://php.net/manual/en/function.curl-setopt.php