CurlFile update

This is a part of bigger PR, preparation for correct CharSet handling. 
Plus some removal of CStdString.