9ns: ensure the parent of a rename target is a directory