A bit more error handling for seeking.