Fix bug with relative paths w/fragments.