Method ValidateFileKeys(string, string?)
Checks the file keys in a consumer option when the endpoint is created: a key that is not a file key would
otherwise surface only when the first file arrives (before 4.7.0 it was left in the path as written).
public static void ValidateFileKeys(string option, string? pattern)