Added write_inode operation to write inodes back to on-disk