Fix the mktags script bug and simplify the its eshell elisp implementation.