This function handles cleaning valid system paths that are functional when passed to `open(..)` but may be relative to the current working directory or have redundant slashers that can be normalized.
This function handles cleaning valid system paths that are functional when passed to `open(..)` but may be relative to the current working directory or have redundant slashers that can be normalized.