merge-file: correctly find files when called in subdir