Fixed appending for files larger than a block