kfs: new helpers read_data/write_data

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>