The file cache assumes that the files are 8-bit text. In other words, that there are no embedded nuls.