Set multipart_form_post on curl for file upload