Directory.renameFile fails on symlinks
renameFile fails on symbolic links when I believe it shouldn't. The problem is that it uses withFileStatus which uses stat(2) instead of lstat(2). As a result it fails when trying to rename a link which points nowhere and (presumably -- I haven't tested this) or a link to a directory. BTW, I was surprised to not find a "standard library" bug category.