lookup_key: reset eof after rewind

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>