refactor Unix.canonpath to use 2 less substitutions
rearrange Unix.canonpath whitespace