Rename `dir` property to `path`