Fix unreference 'str_err' and the subprocess run of ctags

Reworked #170 after a review with @EdVanDance