internal static Stream New(string path, string mode)
{
if (_creator == null) throw new InvalidOperationException("No file stream creator is registered.");
if (path == null) throw new ArgumentNullException("path");
if (mode == null) throw new ArgumentNullException("mode");
return _creator.Create(path, mode);
}