Fix installation instructions
Convert from old-style exceptions
Handle cases where an entry id is formed from non-ascii characters

Reported by Anton Vredegoor.