Encoding of dictionary item file names

the file name now removes any charecters and writes out ascii only file
names (for version checking?)