headers in post, curlfile insteade of deprecated files