What workaround would you suggest if the formatting string is a variable rather than a string literal? For example, if you want to use the same formatting string in several places like this case (which now gives a warning):
FString directory = "/Game/Path/ToFile/%s";
FString path = FString::Printf(*directory, TEXT("file.txt"));