fixup! Fixes #129 - rebase urls relative to output file or to absolute path given by `root` option.