make PATH.resolve return an error result on paths with '' portions
make lookupPath return failure on '', and check for existence in stat
error on invalid pathname to symlink target
fix error on symlinking to an invalid filename