TrimHandler: fix relative paths.

I am sad this did not work the way I thought it did.