Hash titles to generate paths

Fixes issues with foreign languages such as chinese …