use lseek and write a sparse file