Make sure that scripts always have Java-safe class names