Use file.path

This was breaking my build process with a `No path specified! Can not get relative.` error