Bug 940315 - Don't use a generic hash function to generate database filename. r=janv