fix(node/fs): also apply encoding to Dirent parentPath
Match Node's behavior so `parentPath` is a Buffer (or other re-encoded
string) when `encoding` requests it, alongside `name`. Refactors the
inline name-decode into an `applyDirentEncoding` helper and adds
parentPath assertions to the buffer-encoding tests.