libfs: make simple_read_from_buffer conventional