Correctly detect UUIDs in the "file" insert tag (see #6472)