Files on most filesystems are allocated in blocks. If you write to the middle of a block only partway, the entire block is allocated because the filesystem only represents data that way.
So, you have 8192 unallocated bytes, and then a block with some initial zeros filled by the OS.