fix mutilate_nick to never produce invalid nicknames