Returns canonical version of a file path, i.e. fully-qualified and without symbolic links:
canonpath(path[, flags])
The optional flags
is a set of bit flags: bit 0 set if error
messages should be issued, bit 1 set if the return value should be
empty instead of path
on error. Added in version
5.01.1139446515 20060208.