fstream unable to make new files (UE4)

I ran across it again today. I ended up just making a file initialization function using FFileHelper

void <BlueprintFunctionLibrary>::initFile(std::string path)
{
	std::string fullpath = TCHAR_TO_UTF8(*FPaths::ConvertRelativePathToFull(FPaths::ProjectDir()))+ path;
	FString fpath = strToFstr(fullpath);
	bool ret;
	if (!FPaths::FileExists(*fpath))
	{
		ret = FFileHelper::SaveStringToFile(strToFstr(""), *fpath, FFileHelper::EEncodingOptions::AutoDetect, &IFileManager::Get(), EFileWrite::FILEWRITE_None);
	}
	else
	{
		//UELog("initFile(): " + path + " exists");
	}
}