Change ByteArrayWindow to read content outside of WindowCache's lock