Fix bug 1089726 by md5-ing cache key.

[Bug 1089726](https://bugzilla.mozilla.org/show_bug.cgi?id=1089726).