Used CURLFile instead "@"

Used CURLFile instead "@" while posting files if PHP version is >= 5.5 since it's deprecated.