Fixed problem saving syntax files with non-ascii names.