Functions.cs: new func IO.IsValidPath