Add filepath transform

Need this to work with karma-commonjs