I have a file where I need to append a checksum to the beginning. How would this be done? I don't think it's possible to insert data, so I can allocate space by writing 512 0s, but how would I overwrite them later?