Merge: file: fix `simplify_path` behavior for path starting with `.`.