MacGui: make code sanitizing encoder and mixodnw names more robust.