fix: remove trailing separator in parent_dir()