supporting curl_file_create`