Fix files not being reved even though rooted

When revved files are rooted the basedir should also be rooted, so it can match them.

For example:

- images/foo.jpg
- templates/index.html with  `<img src="/images/foo.jpg">`

Currently this won't be revved as it looks for the image in templates/images/.

This patch should fix that, but I might have missed something