Fix potential memory corruption.  in-kernel writes don't always observe cow pages correctly