[PATCH v2 1/1] server: Add cross-platform get_path_from_fd function.