IsSameFile Function

Compares two paths and returns true (1) if they point to the same file. The function
takes account of the fact that the two arguments might try to access the same file by
different methods. For example, on Windows, one file might use a drive letter while
the other might use a server path. The function will always return true if the path names
are identical even if the target does not exist.