ensure sourcemap comment is relative to compiled file

I tested this locally and it seems to work as I expect.