Restrict allowable characters for filenames generated from Mod IDs.