CONTENT-3294 CopyFile should delete first if overwritten.
CONTENT-3197 Replace \ with / in mapped paths