file-server: use path.join for dirIndex path - avoids edge case when `file` is a dir but doesn't end in /