Make unicode hashable, make some of the 'os' code unicode friendly