update multipart-post for ruby 2 compatibility