Bug 913812 - HTTP cache v2: properly propagate errors through the cache file code, r=honzab