hm, the PathHelper is a bit stupid here. validLocalName is expecting a local name without namespace. we should really have an assertValidName method too. can we just do

    $this->session->move($this->path, ('/' === $this->parentPath ? '/' : $this->parentPath) . $newName));