A simple fix to add a transformPath support

This will make it possible to fix paths when using preprocessors