This changes the database to use sha1 based file names. Its not beautiful, but this is the BS we have to do to cope with the garbage that is case insensitive filesystems. Legacy databases are still honored, if you have them.