filepath parses UNC (long and short and cmd aliases) local filesystem path, and unix paths, checks for invalid path characters