Fix relative links when there are subdirs in --source