Should this rather be relative to the sourceMap?
```javascript
file = path.relative(path.dirname(options.sourceMap), file);
```

I wasn't quite sure of the implications – does the file have any significance outside of sourceMaps?