convert old paths to uids