This generic function is applied to a pathname to compute the native representation of the given path, suitable to passing to functions that actually operate on the file system, such as open-input-file and stat.
In unix, directory names are returned without a trailing slash.
Special root locations are expanded to their current value.