Make the cache bytes-written and bytes-read match, both should
ignore compression. Reference #1505.