rewrite basis.path.normalize to not use link element as path resolver (btw it was different from node.js path.normalize)