This kind of code is not as it should be:
string SaveFolder = Server.MapPath("\\") + "Data\\Sites\\" + siteSettings.SiteId + "\\userfiles\\cvs\\";
Server.MapPath is for converting a web virtual path to a file system path, it should be like this:
string SaveFolder = Server.MapPath("~/Data/Sites/" + siteSettings.SiteId.ToInvariantString() + "/userfiles/cvs/");
for .ToInvariantString() you need
using mojoPortal.Web.Framework;
Hope that helps,
Joe