Fix up-to-date tracking of import and string import files.