stream: improve EOF handling in seeks