# Functions
AddFileURI ensures the file:// prefix exists on a URI.
CopyFile copies a file, overwriting if the destination exists.
DirectoryExists checks whether a directory exists.
EnsureDirectory ensures a directory exists.
ExecuteWithTimeout executes a command, killing it after too long.
FileExists checks whether a file exists.
FileExistsInPath checks whether a file exists anywhere in the system path.
NormalizePathSeparators ensures that paths have correct slashes.
ParseFileURI removes the file:// prefix and returns the hostname and file paths from a URI.
Remove removes a file or directory.
RemoveRecursive removes a directory and its children, recursively.
SanitizeDirectory ensures a directory path is safe.