`path.normalize` doesn't handle `~`. It's an open node bug.