Correct a number of file paths.