writing inode block