nsh: support ls on a single file

this allows ls on a file name, which is particularly useful in a large
directory of log files along with the -l option.