Fix "Warning: curl_setopt(): cannot represent a stream of type MEMORY as a STDIO FILE*"
Merge pull request #111 from zachborboa/master

Fix #110: "Warning: curl_setopt(): cannot represent a stream of type MEMORY as a STDIO FILE*"