Windows: buffers whose offsets are beyond EOF should be zero filled and locally allocated