Add support to the `diagrams` tool to specify backend Prolog compiler specific file name extensions for Prolog source files