use CURLFile for uploading files in phpflickr api