Fix incompatible filepaths