* eshell-session.el: use string-to-number

use string-to-number instead of string-to-int
* eshell-session.el: fix eshell-session:prev