Fix paths to files.