I'm planning on re-using this logic for another API. This patch creates
a `SanitizedScriptingModuleName` that encapsulates the logic that checks
whether a file name would fail to be loaded by a `ScriptInterpreter`. I
called it something more generic despite it being `Python` specific at
the moment, in case the FIXME is eventually going to be addressed.
We have existing unit-tests that check this logic, so I'm relying on
that test coverage to give us confidence that this still works as
expected.