topath — Converts a value to a path.
path topath (
)
STR
If the value can't be converted to a path, nilpath is returned.
topath ("path") -> .path topath (".some.path") -> .some.path