Fix fatal when no id can be found for file_usage.

From #2774.

Against 3.5.