Fix unreference 'str_err' and the subprocess run of ctags

Updates after a review with @EdVanDance