add-links: do a better job stripping tailing slashes
add-links: convert tabs to spaces