Bug-fix for FileSystem::setRoot