[server] Retain sub-library on rename.