ProtoCompiler: Add extra-check on module names
Context
This is a small and easy extra-check in the protocol-compiler to make sure filenames are proper module-names. Reported-by and discussed-with @tomjack .
Manually testing the MR
- The CI passes ⇒ nothing is newly broken :)
- Try to crash the protocol-compiler with weird filenames; get a proper error message.