Add path_to_uid method to content library.