curl.easy_handle#perform takes stream argument
updated pdf