Fix bug in the `diagrams` tool which would ignore Prolog files listed in the exclusion list when specified without an extension