How to read and write in binary | ScratchStats