I am downloading a file with curl using the write data function and I am trying to save the file in memory. I want to convert the downloaded file without saving it onto my disk